package io.github.loserya.core.sdk.aggregate.base.column;

import java.io.Serializable;


@SuppressWarnings("all")
public interface ColumnMogoFuncAggregate<lambda, Q, R> extends Serializable {

    default lambda groupBy(String... column) {
        return groupBy(true, column);
    }

    default lambda orderByDesc(String... column) {
        return orderByDesc(true, column);
    }

    default lambda orderByAsc(String... column) {
        return orderByAsc(true, column);
    }

    lambda groupBy(boolean condition, String... column);

    lambda orderByDesc(boolean condition, String... column);

    lambda orderByAsc(boolean condition, String... column);

}
